import { Component, EventEmitter, Input, Output } from '@angular/core';
import { flyIn } from '../../animations/fly-in';




@Component({
  moduleId: module.id,
  selector: 'modal',
   
  animations: [ flyIn
  ],
  styleUrls: ['../../default.css','./modal.component.css','../../elegant-font.css'],
  templateUrl: 'modal.component.html',
})

export class modalComponent  { 
  
	   modalCtrl:boolean = false;
	    

	     @Input()
         modalData:any;

         @Output() colseFatherModal = new EventEmitter<boolean>();



       colseModal():void{
       	this.colseFatherModal.emit();
       	//console.log(modalCtrl)

		}
}
